Skip to content

004 feature simple regridder#21

Open
b-barton wants to merge 10 commits into
mainfrom
004-feature-simple-regridder
Open

004 feature simple regridder#21
b-barton wants to merge 10 commits into
mainfrom
004-feature-simple-regridder

Conversation

@b-barton

@b-barton b-barton commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Fixes issue #4 . I've coded up a simple regridder that takes as input a climatology of the model data on the model grid. It then adds the profiles it is given to the climatology by simply replacing values in the climatology.

The tests I've included check that the climatology is a mean of the month and that the climatology mean is the same as the dataset mean. There is also a test that the regridded profiles are the same as the climatology and that a point in the output is equal to the profile that should have replaced it. These should still pass when we change to a more advanced regridder.

@b-barton b-barton requested a review from oj-tooth June 29, 2026 14:27
@b-barton b-barton self-assigned this Jun 29, 2026
@b-barton b-barton linked an issue Jun 29, 2026 that may be closed by this pull request
@b-barton b-barton added the mod: regridder Relates to regridding modules. label Jun 29, 2026
@b-barton

Copy link
Copy Markdown
Collaborator Author

Just remembered to make it use anomalies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod: regridder Relates to regridding modules.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] Create simple climatology regridder

1 participant